package com.nidu.demo.config.dto;

import com.nidu.demo.base.BaseCO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 系统配置客户端对象
 *
 * @author auto
 */
@Data
@Schema(description = "系统配置客户端对象")
@EqualsAndHashCode(callSuper = true)
public class ConfigCO extends BaseCO {

    /**
     * 主键ID
     */
    @Schema(description = "主键ID", example = "1")
    private Long id;

    /**
     * 配置名称
     */
    @Schema(description = "配置名称", example = "系统名称")
    private String configName;

    /**
     * 配置键名
     */
    @Schema(description = "配置键名", example = "system.name")
    private String configKey;

    /**
     * 配置键值
     */
    @Schema(description = "配置键值", example = "COLA管理系统")
    private String configValue;

    /**
     * 状态(0:禁用,1:启用)
     */
    @Schema(description = "状态(0:禁用,1:启用)", example = "1")
    private Integer status;
} 